package com.free.mini.core.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.free.mini.core.serve.entity.StudyQuestion;
import com.free.mini.core.server.vo.req.StudyQuestionCreateReqVO;
import com.free.mini.core.server.vo.req.StudyQuestionListQueryReqVO;
import com.free.mini.core.server.vo.req.StudyQuestionQueryDetailReqVO;
import com.free.mini.core.server.vo.req.StudyQuestionUpdateReqVO;
import com.free.mini.core.server.vo.resp.StudyQuestionListQueryRespVO;
import com.free.mini.core.server.vo.resp.StudyQuestionQueryDetailRespVO;

/**
 * 学习问题表 Service接口
 *
 * @author dongsufeng
 * @date 2023-08-02 17:50:48
 */
public interface IStudyQuestionService extends IService<StudyQuestion> {

    /**
     * 查询（分页）
     *
     * @return List<StudyQuestion>
     */
    Page<StudyQuestionListQueryRespVO> page(StudyQuestionListQueryReqVO reqVO);

    /**
     * 新增
     *
     */
    Boolean createStudyQuestion(StudyQuestionCreateReqVO reqVO);

    /**
     * 修改
     *
     */
    Boolean updateStudyQuestion(StudyQuestionUpdateReqVO reqVO);

    /**
     * 查询详情
     *
     * @param reqVO re
     */
    StudyQuestionQueryDetailRespVO detail(StudyQuestionQueryDetailReqVO reqVO);
}
